Part Number Hot Search : 
20N06 BFP19307 FN1198 L1507 5H24R5 07D751K D8066D CDP1822D
Product Description
Full Text Search
 

To Download V30218P Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  the v3021 is a low power cmos real time clock. data is transmitted serially as 4 address bits and 8 data bits, over one line of a standard parallel data bus. the device is accessed by chip select (cs) with read and write control timing provided by either rd and wr pulse (intel cpu) or ds with advanced r/w (motorola cpu). data can also be transmitted over a conventional 3 wire serial interface having clk, data i/o and strobe. the v3021 has no busy states and there is no danger of a clock update while accessing. supply current is typically 800 na at v = 3.0 v . battery operation is supported by complete dd functionality down to 2.0 v . the oscillator stability is typically 0.3 ppm/v . applications n utility meters battery operated and portable equipmentconsumer electronics white/brown goods pay phones cash registers personal computers programmable controller systems data loggers automotive electronics n nn n n n n n n 1 features n supply current typically 800 na at 3 v 50 ns access time with 50 pf load capacitancefully operational from 2.0 v to 5.5 v no busy states or danger of a clock update while accessing serial communication on one line of a standard parallel data bus or over a conventional 3 wire serial interface interface compatible with both intel and motorolaseconds, minutes, hours, day of month, month, year, week day and week number in bcd format leap year and week number correctiontime set lock mode to prevent unauthorized setting of the current time or date oscillator stability 0.3 ppm / voltno external capacitor needed frequency measurement and test modes o t emperature range - 40 to +85 c packages dip8 and so8 n nn nn n n n n nn n n description ultra low power 1-bit 32 khz rtc t ypical operating configuration w r o r r / w r d o r d s i/o a d d r e s s b u s d a t a b u s xi xo wr wr rd rd cs cs cpu address decoder v3021 ram fig. 1 pin assignment xi xo cs v ss dip8 / so8 v dd wr rd i/o v3021 fig. 2 em microelectronic-marin sa r v3021
handling procedures stresses above these listed maximum ratings may cause permanent damage to the device. exposure beyond specified operating conditions may affect device reliability or cause malfunction. this device has built-in protection against high static voltages or electric fields; however, it is advised that normal precautions 2 absolute maximum ratings t able 1 parameter maximum voltage at v dd minimum voltage at v dd maximum voltage at any signal pin minimum voltage at any signal pin maximum storage temperature minimum storage temperature electrostatic discharge maximum to mil-std-883c method 3015 maximum soldering conditions v ddmax v ddmin v max v min t stomax t stomin v smax t smax v + 7.0 v ss v - 0.3 v ss v - 0.3 v ss v + 0.3 v dd o +150 c o -65 c 1000 v o 250 c x 10 s symbol conditions electrical characteristics o v = 5.0v 10%, v = 0 v and t = - 40 to 85 c, unless otherwise specified dd ss a t otal static supply t otal static supply dynamic current input / output input logic low input logic high output logic low output logic high input leakage output tri-state leakage on i/o pin oscillator starting voltage input capacitance on xi output capacitance on xo start-up time frequency stability frequency measurement mode current source on i/o pin pulsed on/off @ 256 hz i ss i ss i ss v il v ih v ol v oh i in i ts v sta c in c out t sta d f/f i onf all outputs open, all inputs at v dd v = 3.0 v , address 0 = 0 dd 3.5 0.8 1.8 m a m a m a m a v v v v m a m a v pf pf s ppm/v m a 10 3 300 1.0 0.4 1 1 0.5 60 1.3 0.1 0.1 13 9 1 0.3 25 2.4 1.8 10 all outputs open, all inputs at v dd, v = 5 v , address 0 = 0 dd o t = +25 c a o t = +25 c a o t = +25 c a o 2.0 v 5.5v , t = +25 c dd a t able 3 parameter symbol t est conditions min. typ. max. units cs high, addr.0, bit 0, high v = 1 v i/o i = 4 ma ol i = 4 ma oh 0.0 < v < 5.0 v in cs high, and address 0, bit 0, low i/o to v through 1 m w ss rd = v , wr = v , ss dd cs = 4 mhz address 0 = 0, read all 0 be taken as for any other cmos component. unless otherwise specified, proper operation can only occur when all terminal voltages are kept within the supply voltage range. unused inputs must always be tied to a defined logic voltage level. operating conditions t a -40 2.0 5.0 +85 o c v v/ m s nf khz pf k w 5.5 6 30 50 100 32.768 8.2 35 7 v dd c l r s f t able 2 1) see fig. 3 parameter symbol min. typ . max. units operating temperature logic supply voltage supply voltage dv/dt (power-up & power-down ) decoupling capacitor crystal characteristics 1) frequency load capacitance series resistance r v3021
the v3021 will run slightly too fast, in order to allow the user to adjust the frequency, depending on the mean operating temperature. this is made since the crystal adjustment can only work by lowering the frequency with an added capacitor 3 between xo and v . the printed circuit capacitance has also to ss be taken in consideration. the v3021 in dil8 package, running with an 8.2 pf crystal at room temperature, will be adjusted to better than 1 s/day with a 6.8 pf capacitor. typical frequency on i/o pin 80 30 -20-70 -120-170 [ppm] 32 1 0 -1-2 s/day address 10 hex = 00 hex quartz with 8.2 pf load capacitance external trimming capacitor between x and v [pf] os s o t [c ] a typical drift for ideal 32'768 hz quartz note : the trimming capacitor value must not exceed 15 p f . greater values may disturb the oscillator fun ction. fig. 3 -50 -30 -10 10 30 50 70 90 0 3 6 9 12 15 d f f o quartz characteristics = the ratio of the change in frequency to the nominal value expressed in ppm (it can be thought of as the frequency deviation at any temperature.) = the temperature of interest in c o = the turnover temperature (25 5 c) o t o determine the clock error (accuracy) at a given temperature, add o the frequency tolerance at 25 c to the value obtained from the formula above. fig. 4 [ppm] -100 -200-300 -400 t -100 o t -50 o o t emperature [ c] o t [ c] t o t +50 o t +100 o d f f 0 d f f o ppm 2 o c = - 0.038 2 (t - t ) 10% o d f/f o t t o m i n . m a x . f r e q u e n c y r a t i o [ p p m ] r v3021
1) t starts from rd or cs, whichever activates last acc typically , t = 5 + 0.9 c in ns; where c (external parasitic capacitance) is in pf acc ext ext 2) cs, rd, ds, wr and r/w rise and fall times are specified by t and t rf 3) t starts from rd or cs, whichever deactivates first df 4) t ends at wr or cs, whichever deactivates first dw 5) t starts from wr or cs, whichever deactivates first dh 6) t starts from wr or cs, whichever activates last and ends at wr or cs, whichever deactivates first wc 4 timing characteristics o v = 0 v , and t = - 40 to +85 c, unless otherwise specified ss a t able 4 t cs t acc t w t r t f t df t dw t dh t adw t wc 200 500 10 10 10 60 80 25 200 50 100 10 10 15 50 25 10 50 ns nsns ns ns ns ns ns ns ns 60 200 200 40 50 30 180 200 200 100 write cycle c = 50 pf load chip select duration 1) ram access time time between two transfers 2) rise time 2) fall time 3) data valid to hi-impedance 4) write data settle time 5) data hold time advance write time 6) write pulse time parameter symbol t est conditions min. min. typ. max. max. units v 3 2 v dd v = 5.0v 10% dd timing waveforms read timing for intel (rd and wr pulse) and motorola (ds (or rd pin tied to cs) and r/w) fig. 5a cs t cs t acc t df t w t r t f rd / ds wr / r/w i/o data valid write timing for intel ( and wr pulse) rd r v3021 fig. 5b cs t cs t w t wc t dw t dh rd wr i/o data valid
5 communication cycles read data cycle for intel (rd and wr pulse) cs rd ? 1? ? 0? wr i/o m p writes 4 address bits m p reads 8 data bits a0 a1 a2 a3 d0 d1 d7 fig. 6c write data cycle for intel (rd and wr pulse) cs ds r/w i/o m p writes 4 address bits m p reads 8 data bits a0 a1 a2 a3 d0 d1 d7 fig. 6b read data cycle for motorola (ds (or rd pin tied to cs) and r/w) write timing for motorola (ds (or rd pin tied to cs) and r/w) cs ds r/w i/o t adw t dw t cs t w t dh fig. 5c data valid cs ds wr i/o m p writes 4 address bits m p reads 8 data bits a0 a1 a2 a3 d0 d1 d7 fig. 6a r v3021
6 write data cycle for motorola (ds (or rd pin tied to cs) and r/w) cs ds r/w i/o m p writes 4 address bits m p reads 8 data bits a0 a1 a2 a3 d0 d1 d7 fig. 6d address command cycle for motorola (ds (or rd pin tied to cs) and r/w) address command cycle for intel (rd and wr pulse) cs ds r/w i/o m p writes 4 address bits a0 a1 a2 a3 fig. 6f cs rd wr i/o m p writes 4 address bits a0 a1 a2 a3 fig. 6e ?0? ?1? block diagram xi oscillator and divider chain 1hz tue 2 mon 1 copy_ram_to_clock copy_clock_to _ram d a t a a d d r w r i t e r e a d 0 1 2 - - - - - 9 e f status 0 status 1 xo clock (reserved area) ram (user ram area) rd i/o serial buffer & decoder wr cs fig. 7 m em m em r v3021
functional description serial communication the v3021 resides on the parallel data and address buses as a standard peripheral (see fig. 13 and 14). address decoding provides an active low chip select (cs) to the device. for intel compatible bus timing the control signals rd and wr pulse and cs are used for a single bit read or write (see fig. 5a and 5b). two options exist for motorola compatible bus timing. the first is to use the control signals ds with r/w and cs, the second is to tie the rd input to cs and use the control signals r/w and cs (see fig. 5a and 5c). data transfer is accomplished through a single input / output line (i/o). any data bus line can be chosen. a conventional 3 wire serial interface can also be used to communicate with the v3021 (see fig. 15). communication cycles the v3021 has 3 serial communication cycles. these are : 1) read data cycle 2) write data cycle 3) address command cycle a communication cycle always begins by writing the 4 address bits, a0 to a3. a microprocessor read from the v3021 cannot begin a communication cycle. read and write data cycles are similar and consist of 4 address bits and 8 data bits. the 4 address bits, a0 to a3, define the ram location and the 8 data bits, d0 and d7, provide the relevant information. an address command cycle consists of only 4 address bits. read data cycle a read data cycle commences by writing the 4 ram address bits (a3, a2, a1 and a0) to the v3021. the lsb, a0, is transmitted first (see fig. 6a and 6b). eight microprocessor reads from the v3021 will read the ram data at this address, beginning with the lsb, d0. the read data cycle finishes on reading the 8th data bit, d7. write data cycle a write data cycle commences by writing the 4 ram address bits (a3, a2, a1 and a0) to the v3021. the lsb, a0, is transmitted first (see fig. 6c and 6d). eight microprocessor writes to the v3021 will write the new ram data. the lsb, d0, is loaded first. the write data cycle finishes on writing the 8th data bit, d7. 7 address command cycle an address command cycle consists of just 4 address bits. the lsb, a0, is transmitted first (see fig. 6e and 6f). on writing the fourth address bit, a3, the address will be decoded. if the address bits are recognized as one of the command codes e hex or f hex (see t able 6), then the communication cycle is terminated and the corresponding command is executed. subsequent microprocessor writes to the v3021 begin another communication cycle with the first bit being interpreted as the address lsb, a0. clock configuration the v3021 has a reserved clock area and a user ram area (see fig. 7). the clock is not directly accessible, it is used for internal time keeping and contains the current time and date. the contents of the ram is shown in t able 6, it contains a data space and an address command space. the data space is directly accessible. addresses 0 and 1 contain status information ( see t ables 7a and 7b), addresses 2 to 5, time data, and addresses 6 and 9, date data. the address command space is used to issue commands to the v3021. ram map commands two commands are available (see t able 6). the copy_ram_to_clock command is used to set the current time and date in the clock and the copy_clock_to_ram command to copy the current time and date from the clock to the ram. the copy_ram_to_clock command, address data e hex, causes the clock time and date to be overwritten by the time and date stored in the ram at addresses 2 to 9. address 1 is also cleared (see section ?time and date status bits?). prior to using this command, the desired time and date must be loaded into the ram using write data cycles and the time set lock bit, address 0, bit 7, must be clear (see section ? time set lock?). t able 6 0 12 3 4 5 6 7 8 9 14 15 0 12 3 4 5 6 7 8 9 e f status 0 status 1seconds minutes hours day of month month year week day week number copy_ram_to_clock copy_clock_to_ram 00-59 00-5900-23 01-31 01-12 00-99 01-07 00-52 parameter bcd range dec hex address data space address command space pin description t able 5 pin 1 23 4 5 6 7 8 xixo cs v ss i/o rdwr v dd 32 khz crystal input 32 khz crystal outputchip select input ground supply data input and output intel rd, motorola ds (or tie to cs) intel wr, motorola r/w positive supply name function r v3021
status information the ram addresses 0 and 1 contain status and control data for the v3021. the function of each bit (0 and 7) within address locations 0 and 1 is shown in t ables 7a and 7b respectively. reset and initialization upon microprocessor recovery from a system reset, the v3021 must be initialized by software in order to guarantee that it is expecting a communication cycle (i.e the internal serial buffer is waiting for the address bit a0). software can initialize the v3021 to expect a communication cycle by executing 8 microprocessor reads (see fig. 8). initializing access to the v3021 8 on first startup or whenever power has failed (v < 2.0 v) the dd status register 0 and the clock must be initialized by software. having initialized the interface to expect the address bit a0, write 0 to status register 0, then set the clock (see section ?clock and calendar?). time and date status bits there are time and date status bits at address 1 in the ram. upon executing a copy_clock_to_ram command, the time and date status bits in the ram show which time and date parameters changed since the last time this command was used. a logic 1 in the seconds status bit (address 1, bit 0) in the ram indicates that the seconds location in the ram (address 2) changed since the last copy_clock_to_ram command and thus needs to be read. the seconds location must change before any other time or date location can change. if the seconds status bit is clear, then no time or date location changed since the last copy_clock_to_ram command and so the ram need not to be read by software. t able 7b shows the seconds, minutes, hours, day of the month, month, year, week day , and week number status bit locations. they are set or cleared similar to the seconds location. it should be noted that if the minutes status bit is clear, then the seconds bit may be set, but all other status bits are clear. similarly with hours, the bits representing the units less than hours may have been set, but the bits for the higher units will be clear. this rule holds true for the week day or day of month locations also. the time and date status bits can be used to drive software routines which need to be executed every - second, - minute, - hour, - day of month / week day, - month,- year, or - week. in this application it is necessary to poll the v3021 at least once every time interval used as it does not generate an interrupt. upon executing a copy_ram_to_clock command, the time and date status bits in the ram are cleared. time set lock the time set lock control bit is located at address 0, bit 4 (see t able 7a). when set by software, the bit disables the copy_ram_to_clock command (see section ?commands?.) a set bit prevents unauthorized overwriting of the current time and date in the clock. clearing the time set lock bit by software will re-enable the copy_ram_to_clock command. on first startup or whenever power has failed (v < 2.0 v), the time set lock bit dd must be setup by software. status word cs rd wr i/o m p reads 8 times d0 d1 d7 fig. 8 r v3021 t able 7a status 0 - address 0 read / write bits frequency measurement mode reservedtest mode 0 test mode 1 time set lock reserved reserved reserved 0 - inactive 1 - active 7 6 5 4 3 2 1 0 t able 7b status 1 - address 1 read only bits seconds minuteshours day of month month year week day week number 0 - no change from last copy_clock_to_ram 1 - change from last copy_clock_to_ram 7 6 5 4 3 2 1 0
clock and calendar the time and date addresses in the ram (see t able 6) provide access to the seconds, minutes, hours, day of month, month, year, week day , and week number. these parameters have the ranges indicated on t able 6 and are in bcd format. if a parameter is found to be out of range, it will be cleared on its being next incremented. the v3021 incorporates leap year correction and week number calculation. the week number changes only at the incrementation of the day number from 7 to 1. if week 52 day 7 falls on the 25th, 26th or 27th of december, then the week number will change to 0 otherwise it will be week 1. week days are numbered from 1 to 7 with monday as 1. reading of the current time and date must be preceded by a copy_clock_to_ram command. the time and date status bits 9 will indicate which time and date addresses changed since the last time the command was used (see fig. 9). the time and date from the last copy_clock_to_ram command is held unchanged in the ram, except when power (v ) has failed dd totally. t o change the current time and date in the clock, the desired time and date must first be written to the ram, the time set lock bit cleared, and then a copy_ram_to_clock command sent (see fig. 10). the time set lock bit can be used to prevent unauthorized setting of the clock. frequency measurement setting bit 0 at address 0 will put a pulsed current source (25 m a) onto the i/o pin, when the device is not chip selected (i.e. cs input high). the current source will be pulsed on/off at 256 hz. the period for 0 ppm time keeping is 3.90625 ms. t o measure the frequency signal on pin i/o, the data bus must be high impedance. the best way to ensure this is to hold the microprocessor and peripherals in reset mode while measuring the frequency. the clarity of the signal measured at pin i/o will depend on both the probe input impedance (typically 1 m w ) and the magnitude of the leakage current from other devices driving the line connected to pin i/o. if the signal measured is unclear, put a 200 k w resistor from pin i/o to v . it should be ss noted that the magnitude of the current source (25 m a) is not sufficient to drive the data bus line in case of any other device driving the line, but it is sufficient to take the line to a high logic level when the data bus is in high impedance. use a crystal of nominal c = 8.2 pf as specified in the section l ?operating conditions?. the mx series from microcrystal is recommended. the accuracy of the time keeping is dependent upon the frequency tolerance and the load capacitance of the crystal. 11.57 ppm correspond to one second a day. setting the current time and date fig. 10 write seconds, minutes, hours, day of month, week day, month, year and week number to the ram clear the time set lock bit, addr. 0, bit 4 send a copy_ram_to_clock command, addr. e hex set the time set lock bit, addr. 0, bit 4 reading the current time and date fig. 9 send copy_clock_to_ram addr. f hex read time and data status bits, addr. 1 is the seconds status bit set, addr. 1, bit 0 no yes current time and date read seconds, addr. 2 is the minutes status bit set, addr. 1, bit 1 similar for hours, day of month, week day, month, year and week number read minutes addr. 3 yes no r v3021
t est from the various test features added to the v3021 some may be activated by the user. t able 7a shows the test mode bits. t able 8 shows the 3 available test modes and how they can be activated. t est mode 0 is activated by setting bit 2, address 0, and causes all time keeping to be accelerated by 32. t est mode 1 is activated by setting bit 3, address 0, and causes all the time and date locations, address 2 to address 9, to be incremented in parallel at 1 hz with no carry over (independent of each other). the third test mode combines the previous two resulting in parallel incrementing at 32 hz. an external signal generator can be used to drive the divider chain of the v3021. fig. 11a and 11b show how to connect the signal generator. the speed can be increased by increasing the signal generator frequency to a maximum of 128 khz. an external signal generator and test modes can be combined. t o leave test both test bits (address 0, bits 2 and 3) must be cleared by software. t est corrupts the current time and date and so the time and date should be reloaded after a test session. note : the peak value of the signal provided by the signal generator should not exceed 2 v on xo. access considerations the section ?communication cycles? describes the serial data sequences necessary to complete a communication cycle. in common with all serial peripherals, the serial data sequences are not re-entrant, thus a high priority interrupt, or another software task, should not attempt to access the v3021 if it is already in the middle of a cycle. a semaphore (software flag) on access would allow the v3021 to be shared with other software tasks or interrupt routines. there is no time limit on the duration of a communication cycle and thus interrupt routines (which do not use the v3021) can be fully executed in mid cycle without any consequences for the v3021. note : the peak value of the signal provided by the signal generator should not exceed 2 v on xo. crystal layout in order to ensure proper oscillator operation we recommend the following standard practices: - keep traces as short as possible.- use a guard ring around the crystal. fig. 12 shows the recommended layout. 10 t est modes t able 8 addr. 0 bit 3 addr. 0 bit 2 0 10 1 normal operation all time keeping accelerated by 32parallel increment of all time data at 1 hz with no carry over parallel increment of all time data at 32 hz with no carry over 00 1 1 function 0 - 5.5 v xi xo v3021 1) 100 k w 1) 56 k w 1) indicative values fig. 11b v ss oscillator layout xi xo v ss cs fig. 12 v3021 signal generator connection 1 - 2 v fig. 11a v ss xi xo v3021 peak to peak r v3021
t ypical applications v3021 interfaced with intel cpu (rd/wr pulse) 8088 wr rd bus a/d 0-7 bus address a8-a15 decoder cs rd wr i/o v3021 fig. 13 to other peripherals and memory d0 v3021 interfaced with motorola cpu (advanced r/w) 68000 r/w lds bus a/d 0-7 bus address a8-a15 decoder cs rd wr i/o v3021 fig. 14 to other peripherals and memory d0 11 3 wire serial interface cs p i/o rd v3021 clk data wr strobe 1) & 2) fig. 15 1) with strobe low bits are written to the v3021, and with strobe high bits are read from the v3021 2) for serial ports with byte transfer only, an address command cycle should be combined with every data cycle to give 8 address bits and 8 data bits. for example to read the current minutes, write address data f + 3 (1111 + 0011) and then read 8 data bits. cs p rd v3021 port a.0 port a.1 port a.2 i/o wr v ss r v3021 battery switch over circuit fig. 16 * use schottky barrier diodes. the bat85 has a typical v of 250 mv at an f i of 1 ma. f the reverse current is typically 200 na at a v of 5 v . the reverse recovery time r is 5 ns. for surface mount applications use the philips bat17 in sot -23 or other. d0 of data bus v ss v dd i/o cs motorola bs107a or 3n171 v3021 3 v + bat85* bat85* +5v +5v 1m w
12 ordering information the v 3021 is available in the following package : dip8 plastic package v3021 8p so8 plastic package v3021 8s when ordering, please specify the complete part number. r v3021 em microelectronic-marin sa cannot assume responsibility for use of any circuitry described other than circuitry entirely embodied in an em microelectronic-marin sa product. em microelectronic-marin sa reserves the right to change the circuitry and specifications without notice at any time. you are strongly urged to ensure that the information given has not been superseded by a more up-to-date 2000 em microelectronic-marin sa, 10/00, rev. k/331 em microelectronic-marin sa , ch-2074 marin, switzerland, tel. +41 32 - 755 51 11, fax +41 32 - 755 54 03


▲Up To Search▲   

 
Price & Availability of V30218P

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X